package com.zp.pattern.command;
/**
 * 客户角色：创建一个具体命令对象，并确定其接收者;
 */
public class Client
{
	public static void main(String[] args)
	{
		Receiver receiver = new Receiver();
		
		Command command = new ConcreteCommand(receiver);
		
		Invoker invoker = new Invoker(command);
		
		invoker.doInvokerAction();
	}
}
